<template>
  <div>
    count: {{ count }}
    <button @click="setCount">按钮</button>
  </div>
</template>

<script lang="ts">
export default {
  name: "App",
  data() {
    return {
      count: 0,
    };
  },
  methods: {
    setCount() {
      this.count++;
    },
  },
};
</script>

<style></style>
